class Person {
	#name: string;

	constructor(name: string) {
		this.#name = name;
	}

	greet() {
		console.log(`Hello, my name is ${this.#name}!`);
	}
}